#include <stdio.h>
#include "FTPWorkThread.h"
#include "MemoryPool.h"

#include <stack>

int main(int argc, char **argv)
{
	MemoryPool<int> mp;
	mp.CreatePool(1000);

	int *temp = mp.Alloc();
	*temp = 10;
	mp.Free(temp);

	FTPWorkThread dd;
	dd.Run();
	FTPCommandTest *d = new FTPCommandTest();
	d->type = 1;
	d->dddd = 5;

	dd.Post((void *)d);

	Sleep(10000);
	return 0;
}